#pragma once
#include <iostream>
#include <iomanip>
#include <stdio.h>
#define OK 1
#define ERROR 0
#define Maxsize 100

typedef int Status;
typedef struct {
	int* elem;
	int length;
}Sq_List;


void Print_Sq_List_norm(Sq_List& L);

void Print_Sq_List_Q3(Sq_List& L);

Status InitList_Sq_List_norm(Sq_List& L);

Status GetElem_Sq_List(Sq_List L, int i, int& e);

Status LocateElem_Sq_List(Sq_List L, int e);

Status ListInsert_Sq_List(Sq_List& L, int i, int e);

Status ListDelete_Sq_List(Sq_List& L, int i) ;

Status InitList_Sq_List_Q3(Sq_List& L);

